Save javascript file into your directory